﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:r="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary">

   <RoutedUICommand x:Key="SaveCacheName" Text="Save" />
   <RoutedUICommand x:Key="RemoveRegionCacheName" Text="Remove" />
   
   <r:RibbonCommand x:Key="AddCacheName"
        LabelTitle="Add Cache"
        ToolTipTitle="Add Cache"
        ToolTipDescription="Add Cache to the Cache Host Service."
        SmallImageSource="..\..\Resources\database-add-48.png"
        LargeImageSource="..\..\Resources\database-add-48.png" />

   <r:RibbonCommand x:Key="RemoveCacheName"
        LabelTitle="Remove Cache"
        ToolTipTitle="Remove Cache"
        ToolTipDescription="Remove Cache from Cache Host Service."
        SmallImageSource="..\..\Resources\database-remove.png"
        LargeImageSource="..\..\Resources\database-remove.png" />
 
   <r:RibbonCommand x:Key="ConfigCacheName"
        LabelTitle="Config"
        ToolTipTitle="Cache Name Config"
        ToolTipDescription="Configuration the specified cache name."
        SmallImageSource="..\..\Resources\configure-1.png"
        LargeImageSource="..\..\Resources\configure-1.png" />

   <r:RibbonCommand x:Key="StatisticsCacheName"
        LabelTitle="Statistics"
        ToolTipTitle="Shows statistics for the specified cache."
        ToolTipDescription="Shows statistics for the specified cache ssincluding: size (in bytes), number of caches, regions, cached objects, and cache misses."
        SmallImageSource="..\..\Resources\network-statistics.png"
        LargeImageSource="..\..\Resources\network-statistics.png" />
   
   <r:RibbonCommand x:Key="AddRegionCacheName"
        LabelTitle="Add Region"
        ToolTipTitle="Add Region to cache name."
        ToolTipDescription="Add Region to cache name."
        SmallImageSource="..\..\Resources\Region.png"
        LargeImageSource="..\..\Resources\Region.png" />

    <r:RibbonCommand x:Key="AddDataCacheItemCommand"
        LabelTitle="Add Cache Item"
        ToolTipTitle="Add Items to cache"
        ToolTipDescription="Add Region to cache name."
        SmallImageSource="..\..\Resources\add-1.png"
        LargeImageSource="..\..\Resources\add-1.png" />

    <r:RibbonCommand x:Key="SearchDataCacheCommand"
        LabelTitle="Search"
        ToolTipTitle="Search cache items"
        ToolTipDescription="Add Region to cache name."
        SmallImageSource="..\..\Resources\search.png"
        LargeImageSource="..\..\Resources\search.png" />

    <r:RibbonCommand x:Key="ShowCacheMetrics"
        LabelTitle="Show cache metrics"
        ToolTipTitle="Shows cache metrics in the new PS window"
        ToolTipDescription="Opens power shell command window that shows the cache configuration."
        SmallImageSource="..\..\Resources\configure-1.png"
        LargeImageSource="..\..\Resources\configure-1.png" />


</ResourceDictionary>